package cn.bone.alibabacloud.base.handler;

import cn.bone.springcloud.base.bean.CommonResult;
import cn.bone.springcloud.base.bean.Ref;
import com.alibaba.csp.sentinel.slots.block.BlockException;

public class CustomerBlockHandler {

    public static CommonResult handlerException1(BlockException e){
        return Ref.error("降级规则1");
    }

    public static CommonResult handlerException2(BlockException e){
        return Ref.error("降级规则2");
    }
}
